extends common/layout
block content
    link(rel='stylesheet' type='text/css' href='../css/shop.min.css')
    link(rel='stylesheet' type='text/css' href='../css/order-evaluate.min.css')
    include common/head
    div.order-evaluate-container.shop-container
        div.order-nav
            div.nav-main
                div.tip-block
                    img(src="../image/icon_logo.png")
        div.evaluate-content
            div.evaluate-list
                p 评价宝贝
                div.row
                    div.evaluate-item.clearfix
                        div.float-left
                            img(src="../image/main8.png")
                            p.title 男士运动鞋男士运动鞋男士运动鞋男士运动鞋
                            p.gray-font 颜色：红色
                        div.float-right
                            div.radio-content
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-haoping
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-zhongping
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-chaping
                            div.text-content
                                textarea
                    div.evaluate-item.clearfix
                        div.float-left
                            img(src="../image/main8.png")
                            p.title 男士运动鞋男士运动鞋男士运动鞋男士运动鞋
                            p.gray-font 颜色：红色
                        div.float-right
                            div.radio-content
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-haoping
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-zhongping
                                label
                                    input(type="radio" name="type")
                                    i.icon.icon-chaping
                            div.text-content
                                textarea
                div.shop-evaluate.clearfix
                    div.eva-tip 店铺动态评分
                    div.eva-group
                        div.eva-item
                            span 宝贝描述相符
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                        div.eva-item
                            span 卖家服务态度
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                        div.eva-item
                            span 物流服务质量
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                            i.icon.icon-stargray
                div.btn-container
                    button.btn-border-orange 发表评论
    script.
        $(function () {
            $(".eva-item .icon").bind("click", function () {
                $(this).removeClass('icon-stargray').addClass('icon-staryellow');
                $(this).prevAll(".icon").removeClass('icon-stargray').addClass('icon-staryellow');
                $(this).nextAll(".icon").removeClass('icon-staryellow').addClass('icon-stargray');
            });
        });
